import http from '../service/http'

// get请求
// 获取当前用户的作品视频信息
export function getProfileVideoAPI(userId) {
  return http.get(`user/${userId}/Videos/page/1`)
}
// 获取当前用户的个人信息
export function getProfileUserInfoAPI(userId, myId) {
  return http.get(`user/${userId}/getUserInfo/${myId}`)
}
// 获取当前用户的喜欢视频信息
export function getProfileVideo1API(userId) {
  return http.get(`user/${userId}/Likes/page/1`)
}
// 获取当前用户的作品数量
export function getProfileVideoNumAPI(userId) {
  return http.get(`user/${userId}/VideosNum`)
}
// 获取当前用户的喜欢数量
export function getProfileLikesNumAPI(userId) {
  return http.get(`user/${userId}/LikesNum`)
}
//关注按钮
export function getProfileCareAPI(myId, userId) {
  return http.get(`user/${myId}/triggerFollow/${userId}`)
}
//关注的数量
export function getProfileCareNumAPI(userId) {
  return http.get(`user/${userId}/FollowersNum`)
}
//粉丝的数量
export function getProfileFansNumAPI(userId) {
  return http.get(`user/${userId}/FansNum`)
}
//粉丝的数量
export function getProfilebeLikesNumAPI(userId) {
  return http.get(`user/${userId}/byLikesNum`)
}